import cpmake.rules.*
import cpmake.addons.java.*
import cpmake.addons.ivy.*

ivy = new IvyAddon().setup()

//Have to set this back to default as we inherit properties from CPMakes build env
make.setProperty("cpmake.java.program.source_directory", "src/test/java");
jp = new JavaProgram().setup()

jp.getCompileRule().addClasspathProvider(ivy.getResolveRule().getClasspathProvider("default"))
jp.getCompileRule().addDepends(ivy.getResolveRule())


